package com.baiyang.server.model.article;

import com.baiyang.server.annotation.NotNull;

/**
 * @author XVX - generator
 * @version 1
 */
@NotNull
public class ArticleState {
	/** 通过 **/
	public static final String PASS = "2";
	/** 未处理 **/
	public static final String NOT_DEAL = "0";
	/** 需修改 **/
	public static final String NEED_ALTER = "1";
	/** 不通过 **/
	public static final String FAIL = "3";

	//主键ID
	@NotNull
	private String id;	
	//审批结果
	@NotNull
	private String state;	
	//文章ID
	@NotNull
	private String articleId;	
	//审批建议
	@NotNull
	private String suggestion;	
	//Unknown
	private String createTime;	
	//创建人
	@NotNull
	private String createBy;
	private String createName;
	//是否有效：1-有效，0-无效
	private String available = "1";
	//是否删除：1-删除，0-不删除
	private String del = "0";
	
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getState(){
		return state;
	}
	public void setState(String state){
		this.state = state;
	}
	public String getArticleId(){
		return articleId;
	}
	public void setArticleId(String articleId){
		this.articleId = articleId;
	}
	public String getSuggestion(){
		return suggestion;
	}
	public void setSuggestion(String suggestion){
		this.suggestion = suggestion;
	}
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}
	public String getCreateBy(){
		return createBy;
	}
	public void setCreateBy(String createBy){
		this.createBy = createBy;
	}
	public String getAvailable(){
		return available;
	}
	public void setAvailable(String available){
		this.available = available;
	}
	public String getDel(){
		return del;
	}
	public void setDel(String del){
		this.del = del;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}
}
